<?php

namespace app\repositories;

use app\repositories\BaseRepository;
use app\model\msgModel;

/**
 * 处理具体业务逻辑
 */
class IndexRepository extends BaseRepository
{

    public function getlist()
    {
        $url = "";
        $header = "";
        $data = "";
        $result = $this->post($url,$header,$data);
        if(is_array($result)){
            return $this->sendData($result);
        }
        return $this->sendErrData($result);
    }
}